#pragma once
class PaintHelper
{
private:

	int currentPosX;
	int currentPosY;
	int initPosX;
	int initPosY;
	HDC hdc;
	HPEN hpen;
	HBRUSH hbrush;

public:

	PaintHelper(void);
	PaintHelper(HDC hdc);

	~PaintHelper(void);

	void drawLine(int startX,int startY,int endX,int endY);
	void drawLineOffset(int offX,int offY);

	void drawVerticalLine(int x,int y,int height);
	void drawVerticalLineOffset(int height);

	void drawText(char * string,int x,int y);
	void drawTextOffset(char * string,int offx,int offy);

	void drawParalleLine(int startX,int startY,int endX,int endY,int height);
	void drawParalleLineOffset(int offX,int offY,int height);

	int getCurrentX();
	int getCurrentY();

	void setInitPos(int x,int y);
	void setCurrentPos(int x,int y);

	void moveTo(int x,int y);

	PaintHelper &operator=(const PaintHelper );
};

